package com.baoyouqun.domain.cmd;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
public class UserRoleCmd {
    @NotBlank(message = "用户ID不能为空")
    private String userId;

    @NotNull(message = "角色ID列表不能为空")
    private List<String> roleIds;
}
